package com.woniuxy.ptapp.client.param;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class ClassesParam {
    @NotNull
    @NotBlank(message = "参数校验异常")
    private String classesName;
    @NotNull
    @NotBlank(message = "参数校验异常")
    private String classesDetails;
    @NotNull
    @NotBlank(message = "参数校验异常")
    private String classesPhoto;
    @Min(1)
    @NotNull(message = "参数校验异常")
    private BigDecimal classesPrice;

}
